package cn.autoOffice.mapper;

import cn.autoOffice.bean.pojo.Check;
import org.apache.ibatis.annotations.Param;

import java.time.LocalDate;
import java.util.List;

//考勤持久化层
public interface CheckMapper {

    //添加考勤信息
    boolean addCheckInfo(Check check);

    //查询考勤信息
    List<Check> findAllChecks();

    /**
     * @ClassName CheckMapper
     * @Description 定时业务规范
     * @Author 皮永浪
     * @Date 2023/3/3 15：23
     * @Version 1.0
     */
    int deleteByDate(@Param("deleteDate")LocalDate deleteDate);//删除数据
}
